package com.by.mapper;

import com.by.bean.Supplier;
import com.by.common.crud.BaseMapper;
import com.by.query.SupplierQuery;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Mapper
public interface SupplierMapper extends BaseMapper<Supplier> {
    /**
     * 查询供应商列表
     * @param query
     * @return
     */
    List<Map> query(SupplierQuery query);

    int delete(Serializable id);
}
